// filename: guid.h
// author: enic
// date: 2015-10-09

#pragma once

#include <string>

#if defined(WIN32)
	#include <guiddef.h>
#elif
	typedef struct _GUID {
		unsigned long  Data1;
		unsigned short Data2;
		unsigned short Data3;
		unsigned char  Data4[ 8 ];
	} GUID;
#endif


namespace base
{

	class Guid : public GUID
	{
	public:
		Guid();

		std::string tostring();
		std::wstring towstring();
		std::u16string tou16string();
		
	public:
		static Guid GenGuid();
	};


};

